package router

import (
	_type "gitee.com/yangguoliang001/go-gin-vue3/type"
	swaggerFiles "github.com/swaggo/files"
	ginSwagger "github.com/swaggo/gin-swagger"
)

// gin-swagger middleware
// swagger embed file

func setSwaggerRouter(resource *_type.Resource) {
	resource.R.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))
}
